

<HTML>
<HEAD>
<TITLE>Eighth Test of Section 5.11 of CSS2 Spec</TITLE>

<STYLE TYPE="text/css">
P:first-child EM {font-weight: bold}
DIV > P:first-child {text-indent: 0}
* > A:first-child {color; blue}





</STYLE>
</HEAD>




<BODY>
<h1 >
Testing Eighth Testable Statement of Sec 5.11 of CSS2 Specification
</h1>


<ul>
<li  >
8. The :first-child pseudo-class matches an element that is the first child
of some other element.
</ul>




<h2 >
PASS CRITERIA:
</h2>
<p >
If statement #8 above is passed, then
this <em>emphasized text</em> should be bold, since this EM element is some
descendant of a P element that is a first child.
The rule applied is "P:first-child EM {font-weight: bold}".
<div>
<p>
This paragraph should have text-indent of 0.
The rule is "div > p:first-child {text-indent: 0}
<p>
This <a href="http://www.w3.org">link</a> should be blue, because of rule
"* > A:first-child {color: blue}".
All other properties of this page should be UA-default.


</BODY>
</HTML>

